#include "B.hpp"
__global__ void foo (void) {
  int g[N];
  g[threadIdx.x] = threadIdx.x ;

  bar1();
}

__device__ void bar2 (void)
{
  int g[N];
  g[threadIdx.x] = threadIdx.x ;
  g[threadIdx.x]++;
  
}

